import requestFn from "../../ajax";

const vux = {
  namespaced: true,
  state: {},
  mutations: {},
  getters: {},
  actions: {
    queryTemplateType(): Promise<any> {
      return requestFn.queryTemplateType();
    },
    queryIndustryDetail(): Promise<any> {
      return requestFn.queryIndustryDetail();
    },
    queryLandingTemplate(context: any, params: any): Promise<any> {
      return requestFn.queryLandingTemplate(params);
    },

    copyLandingPage(context: any, params: any): Promise<any> {
      return requestFn.copyLandingPage(params);
    },
    updateLandingPage(context: any, params: any): Promise<any> {
      return requestFn.updateLandingPage(params);
    },
  },
};

export default vux;
